Version

ApplyFixedValuesFilter(Int32,Boolean,CalendarType,FixedDateGroup[]) Method

Applies a FixedValuesFilter to the column.
Syntax
'Declaration
 
Public Overloads Function ApplyFixedValuesFilter( _
   ByVal relativeColumnIndex As Integer, _
   ByVal includeBlanks As Boolean, _
   ByVal calendarType As CalendarType, _
   ByVal ParamArray dateGroups() As FixedDateGroup _
) As FixedValuesFilter
public FixedValuesFilter ApplyFixedValuesFilter( 
   int relativeColumnIndex,
   bool includeBlanks,
   CalendarType calendarType,
   params FixedDateGroup[] dateGroups
)

Parameters

relativeColumnIndex
A zero based column index relative to the Region
includeBlanks
The value which indicates whether blank cells should be filtered in.
calendarType
The calendar type used to interpret values in the dateGroups collection.
dateGroups
The collection of fixed date groups which should be filtered in.
Exceptions
ExceptionDescription
System.ArgumentNullExceptiondateGroups is null.
System.ComponentModel.InvalidEnumArgumentExceptioncalendarType is not defined in the CalendarType enumeration.
System.ArgumentNullExceptionA FixedDateGroup in the dateGroups collection is null.
System.ArgumentExceptionMultiple items in dateGroups are equal to each other.
System.InvalidOperationExceptionincludeBlanks is False and dateGroups has no items. At least one value must be allowed.
System.InvalidOperationExceptionIf the Region was not set.
System.ArgumentOutOfRangeExceptionIf the relativeColumnIndex is outside of the Region.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also